/*
 * Enum_PGN.h
 *
 *  Created on: 9 juli 2021
 *      Author: Daniel Mårtensson
 */

#ifndef SAE_J1939_ENUMS_SAE_J1939_ENUM_PGN_H_
#define SAE_J1939_ENUMS_SAE_J1939_ENUM_PGN_H_

/* PGN enums */
typedef enum {
	PGN_ADDRESS_DELETE = 0x000002,	/* NOT SAE J1939 standard. If you find the correct PGN number, please do a pull request */
	PGN_REQUEST = 0x00EA00,
	PGN_ACKNOWLEDGEMENT = 0x00E800,
	PGN_TP_CM = 0x00EC00,
	PGN_TP_DT = 0x00EB00,
	PGN_ADDRESS_CLAIMED = 0x00EE00,
	PGN_COMMANDED_ADDRESS = 0x00FED8,
	PGN_DM1 = 0x00FECA,
	PGN_DM2 = 0x00FECB,
	PGN_DM3 = 0x00FECC,
	PGN_DM14 = 0x00D900,
	PGN_DM15 = 0x00D800,
	PGN_DM16 = 0x00D700,
	PGN_SOFTWARE_IDENTIFICATION = 0x00FEDA,
	PGN_ECU_IDENTIFICATION = 0x00FDC5,
	PGN_COMPONENT_IDENTIFICATION = 0x00FEEB,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_0 = 0x00FE10,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_1 = 0x00FE11,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_2 = 0x00FE12,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_3 = 0x00FE13,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_4 = 0x00FE14,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_5 = 0x00FE15,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_6 = 0x00FE16,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_7 = 0x00FE17,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_8 = 0x00FE18,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_9 = 0x00FE19,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_10 = 0x00FE1A,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_11 = 0x00FE1B,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_12 = 0x00FE1C,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_13 = 0x00FE1D,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_14 = 0x00FE1E,
	PGN_AUXILIARY_VALVE_ESTIMATED_FLOW_15 = 0x00FE1F,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_0 = 0x00FF20,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_1 = 0x00FF21,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_2 = 0x00FF22,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_3 = 0x00FF23,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_4 = 0x00FF24,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_5 = 0x00FF25,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_6 = 0x00FF26,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_7 = 0x00FF27,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_8 = 0x00FF28,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_9 = 0x00FF29,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_10 = 0x00FF2A,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_11 = 0x00FF2B,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_12 = 0x00FF2C,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_13 = 0x00FF2D,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_14 = 0x00FF2E,
	PGN_AUXILIARY_VALVE_MEASURED_POSITION_15 = 0x00FF2F,
	PGN_AUXILIARY_VALVE_COMMAND_0 = 0x00FE30,
	PGN_AUXILIARY_VALVE_COMMAND_1 = 0x00FE31,
	PGN_AUXILIARY_VALVE_COMMAND_2 = 0x00FE32,
	PGN_AUXILIARY_VALVE_COMMAND_3 = 0x00FE33,
	PGN_AUXILIARY_VALVE_COMMAND_4 = 0x00FE34,
	PGN_AUXILIARY_VALVE_COMMAND_5 = 0x00FE35,
	PGN_AUXILIARY_VALVE_COMMAND_6 = 0x00FE36,
	PGN_AUXILIARY_VALVE_COMMAND_7 = 0x00FE37,
	PGN_AUXILIARY_VALVE_COMMAND_8 = 0x00FE38,
	PGN_AUXILIARY_VALVE_COMMAND_9 = 0x00FE39,
	PGN_AUXILIARY_VALVE_COMMAND_10 = 0x00FE3A,
	PGN_AUXILIARY_VALVE_COMMAND_11 = 0x00FE3B,
	PGN_AUXILIARY_VALVE_COMMAND_12 = 0x00FE3C,
	PGN_AUXILIARY_VALVE_COMMAND_13 = 0x00FE3D,
	PGN_AUXILIARY_VALVE_COMMAND_14 = 0x00FE3E,
	PGN_AUXILIARY_VALVE_COMMAND_15 = 0x00FE3F,
	PGN_GENERAL_PURPOSE_VALVE_ESTIMATED_FLOW = 0x00C600
	/* Add more here */
}ENUM_PGN_CODES;

#endif /* SAE_J1939_ENUMS_SAE_J1939_ENUM_PGN_H_ */
